package text20251109;

public class demp02 {
    //public static void main(String[] args) {
      //  int a = 10 ;
       // int b = 20 ;
       // int max = a>b ? a : b ;
       // System.out.println(max);
    //}

    //public static void main(String[] args) {
        //int a=58;
        //String b = a>=60 ? "合格" : "不合格";
        //System.out.println(b);4
    public static void main(String[] args) {
        int a=10;
        int b=20;
        int c=30;
        int max=a>b ? a : b>c ? b : c;
        System.out.println(max);

    }


}
